package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工资信息管理对象 g_wages
 * 
 * @author nb
 * @date 2024-05-09
 */
public class GWages extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工资编号 */
    private Long wid;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private Long userid;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String username;

    /** 员工部门 */
    @Excel(name = "员工部门")
    private String department;

    /** 岗位 */
    @Excel(name = "岗位")
    private String deptdetailid;

    /** 金额 */
    @Excel(name = "金额")
    private String amount;

    /** 账单类型 */
    @Excel(name = "账单类型")
    private String bill;

    /** 工资明细 */
    @Excel(name = "工资明细")
    private String wages;

    /** 基本工资 */
    @Excel(name = "基本工资")
    private String essential;

    /** 加班费 */
    @Excel(name = "加班费")
    private String overtime;

    /** 奖金 */
    @Excel(name = "奖金")
    private String bonus;

    /** 罚款 */
    @Excel(name = "罚款")
    private String penalty;

    /** 实际工资 */
    @Excel(name = "实际工资")
    private String actual;

    public void setWid(Long wid) 
    {
        this.wid = wid;
    }

    public Long getWid() 
    {
        return wid;
    }
    public void setUserid(Long userid) 
    {
        this.userid = userid;
    }

    public Long getUserid() 
    {
        return userid;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setDeptdetailid(String deptdetailid) 
    {
        this.deptdetailid = deptdetailid;
    }

    public String getDeptdetailid() 
    {
        return deptdetailid;
    }
    public void setAmount(String amount) 
    {
        this.amount = amount;
    }

    public String getAmount() 
    {
        return amount;
    }
    public void setBill(String bill) 
    {
        this.bill = bill;
    }

    public String getBill() 
    {
        return bill;
    }
    public void setWages(String wages) 
    {
        this.wages = wages;
    }

    public String getWages() 
    {
        return wages;
    }
    public void setEssential(String essential) 
    {
        this.essential = essential;
    }

    public String getEssential() 
    {
        return essential;
    }
    public void setOvertime(String overtime) 
    {
        this.overtime = overtime;
    }

    public String getOvertime() 
    {
        return overtime;
    }
    public void setBonus(String bonus) 
    {
        this.bonus = bonus;
    }

    public String getBonus() 
    {
        return bonus;
    }
    public void setPenalty(String penalty) 
    {
        this.penalty = penalty;
    }

    public String getPenalty() 
    {
        return penalty;
    }
    public void setActual(String actual) 
    {
        this.actual = actual;
    }

    public String getActual() 
    {
        return actual;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wid", getWid())
            .append("userid", getUserid())
            .append("username", getUsername())
            .append("department", getDepartment())
            .append("deptdetailid", getDeptdetailid())
            .append("amount", getAmount())
            .append("bill", getBill())
            .append("wages", getWages())
            .append("essential", getEssential())
            .append("overtime", getOvertime())
            .append("bonus", getBonus())
            .append("penalty", getPenalty())
            .append("actual", getActual())
            .toString();
    }
}
